var mongoose = require("mongoose");

//标签表(label)

var labelSchema = new mongoose.Schema({
  title: { type: String, required: true }, //标题
  index: { type: String, required: true }, //索引
  categoryindex: { type: String, required: true } //类别索引
});

module.exports = mongoose.model("label", labelSchema);
